package com.zq.it.dao.admin;

import java.util.Collection;
import java.util.List;

import com.zq.it.pojo.Message;

public interface MessageDao {
	public void saveMessage(Message message)  ;
	public void deleteMessage(Message msg) ;
	public void deleteMessageByName(String title);
	public List<Message> getMessageListByType(String type);
	public  Message findMessageById(Integer id);
	public  List findMessageByTitle(String title);
	public  List<Message> findAllMessages();
	public void updateMessage(Message msg) ;
	public  List findMessageByDate(String date);
 	public Message findMessageByFullTitle(String title);
	public void deleteMessageByGroups(Collection<Message> collection);
	public void saveMessageList(List list);
	public Message findByMsgEntity(Message msg);
	public List findMsgByHql(String hql);
	//public Message findMessageByAllTitle(String title);
		
	
}
